/*
 * fileName: TimingTasksServiceImpl.java
 * author: ewangshi
 * createDate: 2013-8-7
 */
package com.ws.wsapp.chrome.service.impl;

import java.util.List;
import java.util.Map;

import com.ws.base.db.common.order.Order;
import com.ws.base.db.common.page.Page;
import com.ws.wsapp.chrome.dao.TimingTasksDao;
import com.ws.wsapp.chrome.entity.TimingTasks;
import com.ws.wsapp.chrome.service.TimingTasksService;

/**
 * @author ewangshi
 * 
 */
public class TimingTasksServiceImpl implements TimingTasksService {

    private TimingTasksDao timingTasksDao;

    @Override
    public boolean addTimingTasks(TimingTasks timingTasks) {
        return timingTasksDao.addTimingTasks(timingTasks);
    }

    @Override
    public boolean updateTimingTasks(TimingTasks timingTasks) {
        return timingTasksDao.updateTimingTasks(timingTasks);
    }

    @Override
    public List<TimingTasks> queryTimingTasks(Map<String, Object> condition,
            Page page, Order order) {
        return timingTasksDao.queryTimingTasks(condition, page, order);
    }

    public TimingTasksDao getTimingTasksDao() {
        return timingTasksDao;
    }

    public void setTimingTasksDao(TimingTasksDao timingTasksDao) {
        this.timingTasksDao = timingTasksDao;
    }

}
